package cn.cboard.dao;

import cn.cboard.model.UserGroup;
import junit.framework.TestCase;

public class UserGroupDaoTest extends TestCase{

	public void testGetUserGroupById(){
		UserGroupDao  gdao = DaoFacade.getUserGroupDao();
		UserGroup g = gdao.getUserGroupById(new Long(1));
		assertEquals("Error:","admin",g.getGroupName());
	}
}
